package org.andot.one.oms.controller;

import org.andot.one.oms.service.UserFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RequestMapping("/order")
@RestController
public class OrderController {
    @Autowired
    private UserFeignService userFeignService;

    @GetMapping("")
    public String get(String name){
        return userFeignService.getUserInfo1(name);
    }
}
